package com.petAdoption.manager.service;

import com.petAdoption.manager.entity.Producttype;
import com.baomidou.mybatisplus.extension.service.IService;
import com.petAdoption.manager.vo.ProducttypeVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 王倩茹
 * @since 2023-08-28
 */
public interface IProducttypeService extends IService<Producttype> {

    List<ProducttypeVO> findAll();

    List<ProducttypeVO> findByName(String producttypeName);

    int updateProductType(Producttype producttype);

    int delProductType(Integer producttypeId);

    int addProductType(Producttype producttype);

}
